package com.rc.evcharger.model.rc;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcEnterpriseGainSettingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcEnterpriseGainSettingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEnterpriseGainIdIsNull() {
            addCriterion("enterprise_gain_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdIsNotNull() {
            addCriterion("enterprise_gain_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdEqualTo(Long value) {
            addCriterion("enterprise_gain_id =", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdNotEqualTo(Long value) {
            addCriterion("enterprise_gain_id <>", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdGreaterThan(Long value) {
            addCriterion("enterprise_gain_id >", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_id >=", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdLessThan(Long value) {
            addCriterion("enterprise_gain_id <", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_id <=", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdIn(List<Long> values) {
            addCriterion("enterprise_gain_id in", values, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdNotIn(List<Long> values) {
            addCriterion("enterprise_gain_id not in", values, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_id between", value1, value2, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_id not between", value1, value2, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelIsNull() {
            addCriterion("enterprise_level is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelIsNotNull() {
            addCriterion("enterprise_level is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelEqualTo(String value) {
            addCriterion("enterprise_level =", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotEqualTo(String value) {
            addCriterion("enterprise_level <>", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelGreaterThan(String value) {
            addCriterion("enterprise_level >", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_level >=", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelLessThan(String value) {
            addCriterion("enterprise_level <", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelLessThanOrEqualTo(String value) {
            addCriterion("enterprise_level <=", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelLike(String value) {
            addCriterion("enterprise_level like", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotLike(String value) {
            addCriterion("enterprise_level not like", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelIn(List<String> values) {
            addCriterion("enterprise_level in", values, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotIn(List<String> values) {
            addCriterion("enterprise_level not in", values, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelBetween(String value1, String value2) {
            addCriterion("enterprise_level between", value1, value2, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotBetween(String value1, String value2) {
            addCriterion("enterprise_level not between", value1, value2, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andGainNameIsNull() {
            addCriterion("gain_name is null");
            return (Criteria) this;
        }

        public Criteria andGainNameIsNotNull() {
            addCriterion("gain_name is not null");
            return (Criteria) this;
        }

        public Criteria andGainNameEqualTo(String value) {
            addCriterion("gain_name =", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotEqualTo(String value) {
            addCriterion("gain_name <>", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameGreaterThan(String value) {
            addCriterion("gain_name >", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameGreaterThanOrEqualTo(String value) {
            addCriterion("gain_name >=", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameLessThan(String value) {
            addCriterion("gain_name <", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameLessThanOrEqualTo(String value) {
            addCriterion("gain_name <=", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameLike(String value) {
            addCriterion("gain_name like", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotLike(String value) {
            addCriterion("gain_name not like", value, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameIn(List<String> values) {
            addCriterion("gain_name in", values, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotIn(List<String> values) {
            addCriterion("gain_name not in", values, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameBetween(String value1, String value2) {
            addCriterion("gain_name between", value1, value2, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainNameNotBetween(String value1, String value2) {
            addCriterion("gain_name not between", value1, value2, "gainName");
            return (Criteria) this;
        }

        public Criteria andGainTypeIsNull() {
            addCriterion("gain_type is null");
            return (Criteria) this;
        }

        public Criteria andGainTypeIsNotNull() {
            addCriterion("gain_type is not null");
            return (Criteria) this;
        }

        public Criteria andGainTypeEqualTo(String value) {
            addCriterion("gain_type =", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotEqualTo(String value) {
            addCriterion("gain_type <>", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeGreaterThan(String value) {
            addCriterion("gain_type >", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeGreaterThanOrEqualTo(String value) {
            addCriterion("gain_type >=", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeLessThan(String value) {
            addCriterion("gain_type <", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeLessThanOrEqualTo(String value) {
            addCriterion("gain_type <=", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeLike(String value) {
            addCriterion("gain_type like", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotLike(String value) {
            addCriterion("gain_type not like", value, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeIn(List<String> values) {
            addCriterion("gain_type in", values, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotIn(List<String> values) {
            addCriterion("gain_type not in", values, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeBetween(String value1, String value2) {
            addCriterion("gain_type between", value1, value2, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainTypeNotBetween(String value1, String value2) {
            addCriterion("gain_type not between", value1, value2, "gainType");
            return (Criteria) this;
        }

        public Criteria andGainLogoIsNull() {
            addCriterion("gain_logo is null");
            return (Criteria) this;
        }

        public Criteria andGainLogoIsNotNull() {
            addCriterion("gain_logo is not null");
            return (Criteria) this;
        }

        public Criteria andGainLogoEqualTo(String value) {
            addCriterion("gain_logo =", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotEqualTo(String value) {
            addCriterion("gain_logo <>", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoGreaterThan(String value) {
            addCriterion("gain_logo >", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoGreaterThanOrEqualTo(String value) {
            addCriterion("gain_logo >=", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLessThan(String value) {
            addCriterion("gain_logo <", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLessThanOrEqualTo(String value) {
            addCriterion("gain_logo <=", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLike(String value) {
            addCriterion("gain_logo like", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotLike(String value) {
            addCriterion("gain_logo not like", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoIn(List<String> values) {
            addCriterion("gain_logo in", values, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotIn(List<String> values) {
            addCriterion("gain_logo not in", values, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoBetween(String value1, String value2) {
            addCriterion("gain_logo between", value1, value2, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotBetween(String value1, String value2) {
            addCriterion("gain_logo not between", value1, value2, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainExplainIsNull() {
            addCriterion("gain_explain is null");
            return (Criteria) this;
        }

        public Criteria andGainExplainIsNotNull() {
            addCriterion("gain_explain is not null");
            return (Criteria) this;
        }

        public Criteria andGainExplainEqualTo(String value) {
            addCriterion("gain_explain =", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotEqualTo(String value) {
            addCriterion("gain_explain <>", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainGreaterThan(String value) {
            addCriterion("gain_explain >", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainGreaterThanOrEqualTo(String value) {
            addCriterion("gain_explain >=", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainLessThan(String value) {
            addCriterion("gain_explain <", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainLessThanOrEqualTo(String value) {
            addCriterion("gain_explain <=", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainLike(String value) {
            addCriterion("gain_explain like", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotLike(String value) {
            addCriterion("gain_explain not like", value, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainIn(List<String> values) {
            addCriterion("gain_explain in", values, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotIn(List<String> values) {
            addCriterion("gain_explain not in", values, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainBetween(String value1, String value2) {
            addCriterion("gain_explain between", value1, value2, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andGainExplainNotBetween(String value1, String value2) {
            addCriterion("gain_explain not between", value1, value2, "gainExplain");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}